﻿<%@ Page Language="C#" MasterPageFile="~/Master/Web.Master" AutoEventWireup="true"
    CodeBehind="Profiles.aspx.cs" Inherits="Axis.Web.Views.Accounts.Profiles" %>

<%@ Register Src="~/Views/Accounts/ucPrivateBox.ascx" TagPrefix="Axis" TagName="PrivateBox" %>
<%@ Register Src="~/Views/Accounts/ucGiftOfMember.ascx" TagPrefix="Axis" TagName="GiftOfMember" %>
<asp:Content ID="Content1" ContentPlaceHolderID="WebTitle" runat="server">
    Thông tin cá nhân
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="WebHead" runat="server">
    <script src="/Js/Jquery/plugins/CarouFredSel/jquery.carouFredSel.js"></script>
    <link href="../../Js/Jquery/plugins/uploadify/jquery.uploadify.css" rel="stylesheet" />
    <script src="../../Js/Jquery/plugins/uploadify/jquery.uploadify.js"></script>
    <!-- Page-->
    <link href="Css/views.accounts.profiles.css" rel="stylesheet" />
    <script src="Js/views.accounts.profiles.js"></script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="WebBody" runat="server">
    <div class="profile_container">
        <div style="float: left; width: 385px; margin-left: 15px;">
            <div class="cssClearBoth">
                <Axis:GiftOfMember runat="server" ID="ucGiftOfMember" />
            </div>
             <div>
                <img src="Css/img/line_violet.png" />
            </div>
            <div class="cssTextRight" style="margin-bottom: 5px;">
                <img id="imgMark2Gift" src="Css/img.icon/mark2gift.png" />
            </div>
            <Axis:PrivateBox runat="server" ID="ucPrivateBox" />
           
        </div>
        <div style="float: right; margin-right: 5px; width: 575px;">
            <img src="Css/img/profile_bar.png" />
            <div class="profile_header_label">
                • THÔNG TIN CÁ NHÂN •</div>
            <div id="UsersGridEdit" class="UserForm">
                <div class="noteEdit">
                    Phần đánh dấu (*) chỉ được thay đổi một lần.
                </div>
                <div class="new-row divFullName">
                    <label>
                        Họ tên</label>
                    <input type="text" id="txtFullName" value="1234567890" readonly="readonly" class="ui-widget-content ui-corner-all" />
                </div>
                <div class="new-row divName">
                    <label>
                        Họ & chữ lót</label>
                    <input type="text" id="txtFirstName" data-field="FirstName" class="ui-widget-content ui-corner-all" /><em>*</em>
                </div>
                <div class="new-row divName">
                    <label>
                        Tên</label>
                    <input type="text" id="txtLastName" data-field="LastName" class="ui-widget-content ui-corner-all" /><em>*</em>
                </div>
                <div class="new-row">
                    <label>
                        Ngày sinh</label>
                    <input type="text" id="txtUserDateOfBirth" data-field="DateOfBirth" role="datepicker"
                        class="ui-widget-content ui-corner-all" /><em>*</em>
                </div>
                <div class="new-row">
                    <label>
                        Giới tính</label>
                    <asp:DropDownList runat="server" ID="ddlGender" data-field="Gender" required="required"
                        CssClass="ui-widget-content ui-corner-all">
                    </asp:DropDownList>
                    <em style="margin-left: 5px;">*</em>
                </div>
                <div class="new-row">
                    <label>
                        Chứng minh nhân dân</label>
                    <input type="text" id="txtUserCMND" data-field="CMND" required="required" class="ui-widget-content ui-corner-all"
                        minlength="9" maxlength="9" /><em>*</em>
                </div>
                <div class="new-row">
                    <label>
                        Thu nhập cá nhân
                    </label>
                    <asp:DropDownList runat="server" ID="ddlClass" data-field="Class" CssClass="ui-widget-content ui-corner-all">
                    </asp:DropDownList>
                </div>
                <div class="new-row">
                    <label>
                        Thu nhập gia đình
                    </label>
                    <asp:DropDownList runat="server" ID="ddlHouseHoldIncome" data-field="HouseholdIncomeID"
                        CssClass="ui-widget-content ui-corner-all">
                    </asp:DropDownList>
                </div>
                <div class="new-row">
                    <label>
                        Trình độ</label>
                    <asp:DropDownList runat="server" ID="ddlEducation" data-field="EducationID" CssClass="ui-widget-content ui-corner-all">
                    </asp:DropDownList>
                </div>
                <div class="new-row ">
                    <label>
                        Hôn nhân</label>
                    <asp:DropDownList runat="server" ID="ddlMaritalStatus" data-field="MaritalStatus"
                        CssClass="ui-widget-content ui-corner-all">
                    </asp:DropDownList>
                </div>
                <div class="new-row moreInfo">
                    <label>
                        Điện thoại</label>
                    <input type="text" id="txtUserPhone" data-field="Phone" class="ui-widget-content ui-corner-all" />
                </div>
                <div class="new-row moreInfo">
                    <label>
                        Di động</label>
                    <input type="text" id="txtUserMobile" data-field="Mobile" required="required" class="ui-widget-content ui-corner-all number"
                        minlength="10" maxlength="11" />
                </div>
                <div class="new-row moreInfo">
                    <label>
                        Nghề nghiệp</label>
                    <asp:DropDownList runat="server" ID="ddlJob" data-field="JobID" CssClass="ui-widget-content ui-corner-all">
                    </asp:DropDownList>
                </div>
                <div class="new-row moreInfo">
                    <label>
                        Địa chỉ</label>
                    <input type="text" id="txtUserAddress" data-field="Address" class="ui-widget-content ui-corner-all" />
                </div>
                <div class="new-row">
                    <label>
                        Phường xã
                    </label>
                    <input type="text" id="txtWard" data-field="Ward" class="ui-widget-content ui-corner-all"
                        required="required" />
                </div>
                <div class="new-row">
                    <label>
                        Quận/Huyện</label>
                    <input type="text" id="txtDistrict" data-field="District" class="ui-widget-content ui-corner-all"
                        required="required" />
                </div>
                <div class="new-row moreInfo">
                    <label>
                        Tỉnh/ Thành phố</label>
                    <asp:DropDownList runat="server" ID="ddlProvince" data-field="ProvinceID" CssClass="ui-widget-content ui-corner-all">
                    </asp:DropDownList>
                </div>
                <div class="new-row moreInfo">
                    <label>
                        &nbsp;</label>
                    <button type="button" id="btnUpdate" class="button">
                        Cập nhật thông tin</button>
                </div>
            </div>
            <div class="profile_avatar">
                <div class="cssFloatLeft" style="display: none;">
                    <textarea id="txtAvatar" data-field="Avatar"></textarea>
                </div>
                <div>
                    <img id="imgAvatar" src="/Images/no-avatar.png" style="width: 185px; border: 1px solid #dbdbdb;" />
                </div>
                <input type="file" id="Avatar_Upload" />
            </div>
            <div class="profile_header_label">
                • THÔNG TIN ĐĂNG NHẬP •</div>
            <div class="UserForm" style="height: 150px;">
                <div class="new-row">
                    <label>
                        Email</label>
                    <input type="text" id="txt_Email" data-field="Email" data-role="noupdate" readonly="readonly"
                        class="ui-widget-content ui-corner-all" />
                </div>
                <div class="new-row">
                    <label>
                        Mật khẩu</label>
                    <input type="password" id="txt_Password" value="1234567890" readonly="readonly" class="ui-widget-content ui-corner-all" />
                    <a id="link_ChangePassword" href="javascript:void(0);">Đổi mật khẩu</a>
                </div>
                <div class="new-row" data-role="change_password">
                    <label>
                        Mật khẩu mới</label>
                    <input type="password" id="txt_PasswordNew" class="ui-widget-content ui-corner-all" />
                </div>
                <div class="new-row" data-role="change_password">
                    <label>
                        Xác nhận mật khẩu</label>
                    <input type="password" id="txt_PasswordConfirm" class="ui-widget-content ui-corner-all" />
                </div>
                <div class="new-row" data-role="change_password">
                    <label>
                        &nbsp;</label>
                    <button type="button" id="btn_ChangePassword" class="button">
                        Cập nhật</button>
                </div>
            </div>
        </div>
    </div>
    <div id="Mark2GiftDialog" style="display: none;">
        <div class="Mark2GiftDialog_header">
            Xin vui lòng chọn những món quà sau, chú ý, quà được đổi phải bằng hoặc nhỏ hơn
            <strong>TỔNG SỐ ĐIỂM</strong> của bạn.</div>
        <div class="Mark2GiftDialog_body">
            <div class="Mark2GiftDialog_Gifts">
                <asp:Literal ID="ltrGift" runat="server"></asp:Literal>
            </div>
            <a class="Mark2GiftDialog_Gift_prev" id="Mark2GiftDialog_Gift_prev" href="#"><span></span>
            </a><a class="Mark2GiftDialog_Gift_next" id="Mark2GiftDialog_Gift_next" href="#"><span>
            </span></a>
        </div>
        <div class="Mark2GiftDialog_footer">
            *Chú ý: điểm của bạn sẽ bị trừ ngày lập tức sau khi đổi quà <strong>THÀNH CÔNG</strong>.</div>
    </div>
</asp:Content>
